////////////////////////////////////////
//	File Header
//	Author: Stephen Ringer | stephen.ringer@gmail.com
//	File: SAGAAudio.h
//
////////////////////////////////////////
#pragma once
////////////////////////////////////////
//	File Includes
#include "SAGAAudioDevice.h"
//
////////////////////////////////////////

////////////////////////////////////////
//	Class Name: SAGAAudio
//	Purpose:
//		Just used to create, get a pointer to, and release an input device.
class SAGAAudio 
{
	SAGAAudioDevice  *m_pDevice;
	HINSTANCE        m_hInst;
	HMODULE          m_hDLL;
public:
	SAGAAudio(HINSTANCE hInst);
	~SAGAAudio(void);

	HRESULT          CreateDevice();
	LPSAGAAUDIODEVICE GetDevice() { return m_pDevice; }
	HINSTANCE        GetModule() { return m_hDLL;    }
	void             Release();
}; 
typedef class SAGAAudio *LPSAGAAUDIO;
//
////////////////////////////////////////